﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity.Page
{
    /// <summary>
    /// 界面替换定义
    /// </summary>
    [DataContract]
    [Serializable]
    public class PageTemplateReplaceDefine
    {
        /// <summary>
        /// 主键
        /// </summary>
        [DataMember]
        public string ID { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LastModifier { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime LastModifyTime { get; set; }
        /// <summary>
        /// 模板ID
        /// </summary>
        public string PageTemplateID { get; set; }
        /// <summary>
        /// 元数据类型
        /// </summary>
        [DataMember]
        public string MetaDataType { get; set; }
        /// <summary>
        /// 模板项类型
        /// </summary>
        [DataMember]
        public ItemType ItemType { get; set; }
        /// <summary>
        /// 替换规则
        /// </summary>
        [DataMember]
        public ReplaceType ReplaceType { get; set; }
        /// <summary>
        /// 模板项标识
        /// </summary>
        [DataMember]
        public string ItemID { get; set; }
        /// <summary>
        /// 模板项编码
        /// </summary>
        [DataMember]
        public string ItemCode { get; set; }
        /// <summary>
        /// 替换值
        /// </summary>
        [DataMember]
        public object ReplaceValue { get; set; }
    }
}
